package com.yx.modules.api.service;


import com.yx.modules.api.entity.TbAttention;

import java.util.List;
import java.util.Map;

/**
 * 关注
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-08 17:10:44
 */
public interface TbAttentionService {
	
	TbAttention queryObject(Integer id);
	
	List<TbAttention> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbAttention attention);
	
	void update(TbAttention attention);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

    TbAttention findByUserAndAuthor(String uuid, String uuid1);

    Integer findTotalByUseruuid(String uuid);
}
